<div class="myclear">
	<div class="ttip-adprv-adinfo">
		<p class="ttip-adprv-title">
			<?php echo $banner_lang['ADpreview']?>
		</p>
		
		<div class="breview-box">
			<p id="step1_suggest_title" class="bold">
				<a target="_blank" href="<?php echo $info[0]['url']?>"><?php echo $info[0]['bannername']?></a>
			</p>
			
			<p id="step1_domain" class="breview-box-domain">
				<?php echo $this->mycommon->getDomainFromUrl($info[0]['url']);?>
			</p>
			
			<div class="myclear padtop5">
				<p class="breview-box-img">
					<a target="_blank" href="<?php echo $info[0]['url']?>"><img alt="" id="step1_suggest_image" src="<?php echo $info[0]['filepath']?>" /></a>
				</p>
				<div id="step1_suggest_body" class="breview-box-bodytext">
					<?php echo $info[0]['description']?>
				</div>
				<!-- important. fix for ie 6. Don't remove -->
				<!--[if IE 6]><br class="clearboth" /><![endif]-->
			</div>
		</div>
	</div>

	<div class="ttip-adprv-target">
		<p class="ttip-adprv-target-title">
			<?php echo $banner_lang['targeting']?>
		</p>
		
		<p class="padtop5">
			<?php echo $banner_lang['targetUser']?>
		</p>
		
        <ul class="square">
            <li><b>Vùng miền</b> : <?php $mystring =$info[0]['locationAd'];
                                        if(strpos($mystring,'0')!==false) {
                                             $mystring = str_replace("0","Toàn quốc",$mystring);
                                        }
                                        if(strpos($mystring,'1')!==false) {
                                             $mystring = str_replace("1","Bắc",$mystring);
                                        }
                                        if(strpos($mystring,'2')!==false) {
                                             $mystring = str_replace("2","Trung",$mystring);
                                        }
                                        if(strpos($mystring,'3')!==false) {
                                             $mystring = str_replace("3","Nam",$mystring);
                                        }
                                        echo rtrim($mystring,',');
                                         ?></li>
        </ul>
		<?php if(count($category)!=0){ ?>
        <ul class="square">
            <li><b>Sở thích</b> :</li>
                <?php $index=0;
                foreach($category as $ctgr)
                {
                    if($index==3)
                    {
                        break;
                    }
                ?>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $ctgr['categoryname_vi'].'<br/>'?>
				<?php
                    $index++;
                }
                ?>
        </ul>
        <?php }?>
	</div>
</div>
<?php if(($status!= -1)&&($status!= 0)){ ?>
<p class="ttip-adprv-target-title padtop10">
	<?php echo $banner_lang['editThisAd']?>
</p>

<p class="padtop10">
	<?php echo $banner_lang['editThisAdTip']?>
</p>

<p class="padtop10">
	<?php echo $banner_lang['editThisAdTip2']?>
</p>
<?php } ?>